*{
    box-sizing: initial;
}

ul{
}
ul,li{
    margin: 0;
    padding:0;
    position: relative;
    list-style: none;
}
body{
    background-color: #000000;
    text-align: center;
}
h1{
    font-family: 幼圆;
    color: blue;
    text-shadow: 0 0 2px #b0fdff;
}
#main li{
    display: inline-block;
    margin:2em;
    padding-top: 1em;
    border: 2px solid #a4ff4f;
    position: relative;
}
#main li img{
    width: 4em;
    height:15em;
    padding:0 5em;
    transition: all 0.3s ease;
}
#main li img:hover{
    transform: rotateZ(360deg);
}
.title{
    position: relative;
    color: #eeeeee;
    border: 2px solid white;
    margin: 20px auto;
    width:70%;
    display: block;
    padding:5px 10px;
    cursor: pointer;
}
.toRight{
    display: inline-block;
    vertical-align: middle;
    width:30px;
    height:30px;
    background: url("../img/icon/greenToRight.jpg");
    background-size: cover;
    margin-left: 5px;
    position: relative;
    transition: all 0.3s ease;

}
.title:hover .toRight{
    transform: translate(15px,0);
}
.title:hover{
    font-weight: bold;
    text-shadow: 0 0 6px white;
}
@keyframes flyToRight{
    0%{
        left:-300px;
        opacity: 0.5;
    }
    100%{
        left:-2px;
        opacity: 1;
    }
}
@keyframes flyToLeft{
    0%{
        left:478px;
        opacity: 0.5;
    }
    100%{
        left:-2px;
        opacity: 1;
    }
}
@keyframes flyToBottom{
    0%{
        top:-100px;
        opacity: 0.5;
    }
    100%{
        top:-2px;
        opacity: 1;
    }
}
@keyframes flyToTop{
    0%{
        top:100px;
        opacity: 0.5;
    }
    100%{
        top:20px;
        opacity: 1;
    }
}
.title:hover .top{
    animation-name: flyToRight;
    animation-duration: 0.2s;
    animation-timing-function: ease;
}
.title:hover .bottom{
    animation-name: flyToLeft;
    animation-duration: 0.2s;
    animation-timing-function: ease;
}
.title:hover .right{
    animation-name: flyToBottom;
    animation-duration: 0.2s;
    animation-timing-function: ease;
}
.title:hover .left{
    animation-name: flyToTop;
    animation-duration: 0.2s;
    animation-timing-function: ease;
}
.title div{
    border:1px solid yellow;
    position: absolute;
    opacity: 0;
}
.left,.right{
    width: 42px;
    transform: rotate(90deg);
}
.left{
    left: -23px;
    top: 20px;
}
.right{
    left: 155px;
    top: 20px;
}
.top,.bottom{
    width:178px;
}
.top{
    top: -2px;
}
.bottom{
    top: 40px;
}